package org.deng.learn.designpattern.flyweight;

/**
 * @author DengLibin
 * @Description 字体类
 * @Date 2019/3/7 0007 17:38
 */
public class Font {

    private String name;//名称

    public Font(String name){
        System.out.println("创建了字体对象");
        this.name = name;
    }

    public String getName(){
        return this.name;
    }
}
